﻿
@{
    ViewData["Title"] = "UpdEventView";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<form class="layui-form" action="" style="align-content:center" onsubmit="return false">
    <div class="layui-form-item">
        <blockquote class="layui-elem-quote layui-quote-nm">
            <i class="layui-icon-align-left"></i>
            举报信息
        </blockquote>
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">事件来源:</label>
                <div class="layui-input-inline layui-input-wrap">
                    <select id="EventSource" name="EventSource">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="grid-demo">
                    <label class="layui-form-label">上报人:</label>
                    <div class="layui-input-inline layui-input-wrap">
                        <input type="text" id="Reporter" name="Reporter" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">联系电话:</label>
                <div class="layui-input-inline layui-input-wrap">
                    <input type="text" id="ReportPhone" name="ReportPhone" lay-verify="phone" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="grid-demo">
                    <label class="layui-form-label">上报时间:</label>
                    <div class="layui-input-inline layui-input-wrap">
                      <input type="text" class="layui-input" id="ReportDate" name="ReportDate" lay-verify="date" placeholder="yyyy-MM-dd">                      
                    </div>
                </div>
            </div>
        </div>
    </div>
    <blockquote class="layui-elem-quote layui-quote-nm">
        事件信息
    </blockquote>
    <div class="layui-form-item">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">事件描述:</label>
                <div class="layui-input-block">
                    <textarea id="EventDesc" name="EventDesc" autocomplete="off" lay-verify="required" placeholder="请输入内容" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="grid-demo">
                    <label class="layui-form-label">事件级别:</label>
                    <div class="layui-input-block">
                        <input type="radio" name="EventLevel" id="EventLevel" value="1" title="一般">
                        <input type="radio" name="EventLevel" id="EventLevel" value="2" title="紧急" checked>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">位置描述:</label>
                <div class="layui-input-block">
                        <textarea id="EventAxis" name="EventAxis" autocomplete="off" lay-verify="required" placeholder="请输入内容" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="grid-demo">
                    <label class="layui-form-label">是否在地图内:</label>
                    <div class="layui-input-block">
                        <input type="radio" name="IsMap" id="IsMap" value="true" title="是">
                        <input type="radio" name="IsMap" id="IsMap" value="false" title="否" checked>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">事件类型:</label>
                <div class="layui-input-inline layui-input-wrap">
                    <select id="EventType" name="EventType">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="grid-demo">
                    <label class="layui-form-label">所属网格:</label>
                    <div class="layui-input-inline layui-input-wrap">
                        <input type="text" id="NetWork" name="NetWork" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">大类名称:</label>
                <div class="layui-input-inline layui-input-wrap">
                    <select id="BigName" name="BigName">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="grid-demo">
                    <label class="layui-form-label">部件名称:</label>
                    <div class="layui-input-inline layui-input-wrap">
                        <input type="text" id="PartsName" name="PartsName" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <label class="layui-form-label">小类名称:</label>
                <div class="layui-input-inline layui-input-wrap">
                    <select id="SmallName" name="SmallName">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-xs6"></div>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">上传附件:</label>
        <div class="layui-input-inline layui-input-wrap">
            <button type="button" class="layui-btn" id="ID-upload-demo-btn">
                <i class="layui-icon layui-icon-upload"></i> 单图片上传
            </button>
            <div class="layui-upload-list">
                <img class="layui-upload-img" id="Annex" name="Annex" style="width: 100%; height: 92px;">
            </div>
        </div>
    </div>
    <div class="layui-btn-container" style="text-align:center">
        <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">保存</button>
    </div>
</form>
    <script src="~/js/EvenHand/HandEdit.js?n=" + new Date()"></script>
</body>
</html>


